package com.loki.service.impl;

import com.loki.bean.User;
import com.loki.dao.UserDao;
import com.loki.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @date 2021/3/26 2:35
 * @Description
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;

    @Override
    public List<User> getUsers() {
        return userDao.selectUsers();
    }
}
